package com.zpark.dao;

import com.zpark.pojo.Ranking;

import java.util.List;
public interface SouHuDao {
    //查询所有
    List<Ranking> selectAll();
    //根据id查找
    Ranking selectById(Integer id);
    //添加数据
    Integer insert(Ranking ranking);
    //根据ID修改数据
    Integer updateById(Integer id,String fName);
    //根据Id删除
    Integer deleteById(Integer id);

}
